SPC\Modules\Frontend S

Total Complexity 31
Dependencies 2
Dependents 4
Total lines 287
Lines of code 181
Logical lines of code 61
Comment lines 57
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
enqueue_uncached()
S
61 5 12
add_bg_lazyload_script()
S
51 3 40
enqueue_frontend()
S
56 4 17
is_amp_or_customizer()
S
69 5 7
modify_script_attributes()
S
62 4 11
enqueue_auto_prefetch_viewport()
S
49 1 43
get_background_lazy_css()
S
60 2 13
init()
S
64 2 9
get_compatibilities_lazyload_background_selectors()
S
66 2 8
get_lazyload_background_selectors()
S
68 1 8
is_background_lazyload_enabled()
S
75 1 4
get_lazyload_behaviours()
S
67 1 9